
/**
 * @author 
 * Yannic Remmet			196983
 * Tobias Trabelsi			197112
 * Anna-Katharina Wickert	197122
 */
public class Test {

	
	public static void main(String[] args) {
		ListQueue<Integer> testQueue = new ListQueue<Integer>();
		System.out.println("TestQueue.isEmpty schould be true: " + testQueue.isEmpty());
		System.out.println("TestQueue enter 4");
		testQueue.enter(4);
		System.out.print("TestQueue.front should be 4: ");  testQueue.front(); System.out.println();
		
		testQueue.enter(3);
		testQueue.enter(5);
		System.out.println("TestQueue enter 3 and 5");
		System.out.print("TestQueue.front should be 4: "); testQueue.front();System.out.println();
		
		System.out.println("TestQueue.leave "+ testQueue.leave().toString());
		System.out.println("TestQueue.isEmpty schould be false: " + testQueue.isEmpty());
		System.out.print("TestQueue.front should be 3: "); testQueue.front(); System.out.println();
		
		System.out.println("TestQueue.leave "+ testQueue.leave().toString());
		System.out.print("TestQueue.front should be 5: "); testQueue.front(); System.out.println();
		
		System.out.println("TestQueue.leave "+ testQueue.leave().toString());
		System.out.println("TestQueue.isEmpty schould be true: " + testQueue.isEmpty());
		
	}

}
